package com.cx.config.properties;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @auth dijia
 * @date 2023/5/29 11:30
 */
@Data
@Component
@ConfigurationProperties(prefix = DataSourceMapProperties.PREFIX)
@Slf4j
public class DataSourceMapProperties {

    public static final String PREFIX="dynamic-data-source";

    private List<TenantDataSourceMap> map;

}
